package edu.wit.acl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.wit.acl.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-01-12
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<String> selectUserIdsByRoleName(String roleName);

    String selectCorpIdByUserId(String userId);

    String selectCompanyNameByCompanyId(String companyId);
}
